package com.itsu.integration.util;

import com.alibaba.fastjson.JSON;

/**
 * @author suben
 * @date 2020/5/8 10:37
 */
public class JsonUtil {

    public static void main(String[] args) {
        ResObj resObj = new ResObj();
        resObj.setCode(200);
        resObj.setMessage("success");
        resObj.setData("I am data");
        System.out.println(JSON.toJSONString(resObj));
    }
}
